1
0

Flexi - predator-prey-spirals [geiss' laplacian finish].milk 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=5.000000
  7. fGammaAdj=1.280
  8. fDecay=0.800
  9. fVideoEchoZoom=1.000
  10. fVideoEchoAlpha=0.000
  11. nVideoEchoOrientation=3
  12. nWaveMode=7
  13. bAdditiveWaves=1
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=1
  17. bMaximizeWaveColor=0
  18. bTexWrap=0
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=1
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001
  26. fWaveScale=1.286
  27. fWaveSmoothing=0.630
  28. fWaveParam=0.000
  29. fModWaveAlphaStart=0.710
  30. fModWaveAlphaEnd=1.300
  31. fWarpAnimSpeed=0.010
  32. fWarpScale=100.000
  33. fZoomExponent=0.92178
  34. fShader=0.000
  35. zoom=0.99010
  36. rot=0.00000
  37. cx=0.500
  38. cy=0.500
  39. dx=0.00000
  40. dy=0.00000
  41. warp=0.01000
  42. sx=1.00000
  43. sy=1.00000
  44. wave_r=0.650
  45. wave_g=0.650
  46. wave_b=0.650
  47. wave_x=0.500
  48. wave_y=0.500
  49. ob_size=0.000
  50. ob_r=0.000
  51. ob_g=1.000
  52. ob_b=0.000
  53. ob_a=1.000
  54. ib_size=0.000
  55. ib_r=0.000
  56. ib_g=0.000
  57. ib_b=0.000
  58. ib_a=1.000
  59. nMotionVectorsX=64.000
  60. nMotionVectorsY=48.000
  61. mv_dx=0.000
  62. mv_dy=0.000
  63. mv_l=0.000
  64. mv_r=1.000
  65. mv_g=1.000
  66. mv_b=1.000
  67. mv_a=0.000
  68. b1n=0.000
  69. b2n=0.000
  70. b3n=0.000
  71. b1x=1.000
  72. b2x=1.000
  73. b3x=1.000
  74. b1ed=0.000
  75. wavecode_0_enabled=0
  76. wavecode_0_samples=512
  77. wavecode_0_sep=0
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=0
  82. wavecode_0_scaling=1.00000
  83. wavecode_0_smoothing=0.50000
  84. wavecode_0_r=1.000
  85. wavecode_0_g=1.000
  86. wavecode_0_b=1.000
  87. wavecode_0_a=1.000
  88. wave_0_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass);
  89. wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb);
  90. wave_0_per_point3=
  91. wave_0_per_point4=mx=mx+(.0002*cos(ma));
  92. wave_0_per_point5=my=my+(.0002*sin(ma));
  93. wave_0_per_point6=
  94. wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  95. wave_0_per_point8=my=if(above(my,.9),(.9-my),my);
  96. wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  97. wave_0_per_point10=my=if(below(my,.1),(.9+my),my);
  98. wave_0_per_point11=
  99. wave_0_per_point12=x=mx;
  100. wave_0_per_point13=y=my;
  101. wave_0_per_point14=
  102. wave_0_per_point15=a=(above(bass+mid+treb,.8));
  103. wavecode_1_enabled=0
  104. wavecode_1_samples=512
  105. wavecode_1_sep=0
  106. wavecode_1_bSpectrum=0
  107. wavecode_1_bUseDots=0
  108. wavecode_1_bDrawThick=1
  109. wavecode_1_bAdditive=0
  110. wavecode_1_scaling=1.00000
  111. wavecode_1_smoothing=0.50000
  112. wavecode_1_r=1.000
  113. wavecode_1_g=1.000
  114. wavecode_1_b=1.000
  115. wavecode_1_a=1.000
  116. wave_1_per_point1=ma=ma+(above(bass,1)*3.1415*.05*bass);
  117. wave_1_per_point2=ma=ma-(above(mid,1)*3.1415*.05*mid);
  118. wave_1_per_point3=
  119. wave_1_per_point4=mx=mx+(.0001*cos(ma));
  120. wave_1_per_point5=my=my+(.0001*sin(ma));
  121. wave_1_per_point6=
  122. wave_1_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  123. wave_1_per_point8=my=if(above(my,.9),(.9-my),my);
  124. wave_1_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  125. wave_1_per_point10=my=if(below(my,.1),(.9+my),my);
  126. wave_1_per_point11=
  127. wave_1_per_point12=x=mx;
  128. wave_1_per_point13=y=my;
  129. wave_1_per_point14=
  130. wave_1_per_point15=a=(above(bass+mid+treb,.1));
  131. wavecode_2_enabled=0
  132. wavecode_2_samples=512
  133. wavecode_2_sep=0
  134. wavecode_2_bSpectrum=0
  135. wavecode_2_bUseDots=0
  136. wavecode_2_bDrawThick=1
  137. wavecode_2_bAdditive=0
  138. wavecode_2_scaling=1.00000
  139. wavecode_2_smoothing=0.50000
  140. wavecode_2_r=1.000
  141. wavecode_2_g=1.000
  142. wavecode_2_b=1.000
  143. wavecode_2_a=1.000
  144. wave_2_per_point1=ma=ma+(above(mid,1)*3.1415*.01*mid);
  145. wave_2_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb);
  146. wave_2_per_point3=
  147. wave_2_per_point4=mx=mx+(.0004*cos(ma));
  148. wave_2_per_point5=my=my+(.0004*sin(ma));
  149. wave_2_per_point6=
  150. wave_2_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  151. wave_2_per_point8=my=if(above(my,.9),(.9-my),my);
  152. wave_2_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  153. wave_2_per_point10=my=if(below(my,.1),(.9+my),my);
  154. wave_2_per_point11=
  155. wave_2_per_point12=x=mx;
  156. wave_2_per_point13=y=my;
  157. wave_2_per_point14=
  158. wave_2_per_point15=a=(above(bass+mid+treb,.3));
  159. wavecode_3_enabled=0
  160. wavecode_3_samples=512
  161. wavecode_3_sep=0
  162. wavecode_3_bSpectrum=0
  163. wavecode_3_bUseDots=0
  164. wavecode_3_bDrawThick=1
  165. wavecode_3_bAdditive=0
  166. wavecode_3_scaling=1.00000
  167. wavecode_3_smoothing=0.50000
  168. wavecode_3_r=1.000
  169. wavecode_3_g=1.000
  170. wavecode_3_b=1.000
  171. wavecode_3_a=1.000
  172. wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass);
  173. wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb);
  174. wave_3_per_point3=
  175. wave_3_per_point4=mx=mx+(.0008*cos(ma));
  176. wave_3_per_point5=my=my+(.0008*sin(ma));
  177. wave_3_per_point6=
  178. wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  179. wave_3_per_point8=my=if(above(my,.9),(.9-my),my);
  180. wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  181. wave_3_per_point10=my=if(below(my,.1),(.9+my),my);
  182. wave_3_per_point11=
  183. wave_3_per_point12=x=mx;
  184. wave_3_per_point13=y=my;
  185. wave_3_per_point14=
  186. wave_3_per_point15=a=(above(bass+mid+treb,.2));
  187. shapecode_0_enabled=0
  188. shapecode_0_sides=39
  189. shapecode_0_additive=1
  190. shapecode_0_thickOutline=0
  191. shapecode_0_textured=0
  192. shapecode_0_num_inst=126
  193. shapecode_0_x=0.500
  194. shapecode_0_y=0.500
  195. shapecode_0_rad=0.06989
  196. shapecode_0_ang=0.00000
  197. shapecode_0_tex_ang=0.62832
  198. shapecode_0_tex_zoom=1.00000
  199. shapecode_0_r=1.000
  200. shapecode_0_g=0.000
  201. shapecode_0_b=0.000
  202. shapecode_0_a=1.000
  203. shapecode_0_r2=1.000
  204. shapecode_0_g2=0.000
  205. shapecode_0_b2=0.000
  206. shapecode_0_a2=1.000
  207. shapecode_0_border_r=1.000
  208. shapecode_0_border_g=1.000
  209. shapecode_0_border_b=1.000
  210. shapecode_0_border_a=0.000
  211. shape_0_per_frame1=ma=ma+(above(bass,1)*3.1415*.01*bass);
  212. shape_0_per_frame2=ma=ma-(above(treb,1)*3.1415*.01*treb);
  213. shape_0_per_frame3=
  214. shape_0_per_frame4=mx=mx+(.0002*cos(ma));
  215. shape_0_per_frame5=my=my+(.0002*sin(ma));
  216. shape_0_per_frame6=
  217. shape_0_per_frame7=mx=if(above(mx,.9),(.9-mx),mx);
  218. shape_0_per_frame8=my=if(above(my,.9),(.9-my),my);
  219. shape_0_per_frame9=mx=if(below(mx,.1),(.9+mx),mx);
  220. shape_0_per_frame10=my=if(below(my,.1),(.9+my),my);
  221. shape_0_per_frame11=
  222. shape_0_per_frame12=x=mx;
  223. shape_0_per_frame13=y=my;
  224. shape_0_per_frame14=
  225. shape_0_per_frame15=a=(above(bass+mid+treb,.8));
  226. shapecode_1_enabled=0
  227. shapecode_1_sides=41
  228. shapecode_1_additive=1
  229. shapecode_1_thickOutline=0
  230. shapecode_1_textured=0
  231. shapecode_1_num_inst=239
  232. shapecode_1_x=0.500
  233. shapecode_1_y=0.500
  234. shapecode_1_rad=0.06989
  235. shapecode_1_ang=0.00000
  236. shapecode_1_tex_ang=0.62832
  237. shapecode_1_tex_zoom=1.00000
  238. shapecode_1_r=0.000
  239. shapecode_1_g=1.000
  240. shapecode_1_b=0.000
  241. shapecode_1_a=1.000
  242. shapecode_1_r2=0.000
  243. shapecode_1_g2=1.000
  244. shapecode_1_b2=0.000
  245. shapecode_1_a2=1.000
  246. shapecode_1_border_r=1.000
  247. shapecode_1_border_g=1.000
  248. shapecode_1_border_b=1.000
  249. shapecode_1_border_a=0.000
  250. shape_1_per_frame1=ma=ma+(above(bass,1)*3.1415*.05*bass);
  251. shape_1_per_frame2=ma=ma-(above(mid,1)*3.1415*.05*mid);
  252. shape_1_per_frame3=
  253. shape_1_per_frame4=mx=mx+(.0001*cos(ma));
  254. shape_1_per_frame5=my=my+(.0001*sin(ma));
  255. shape_1_per_frame6=
  256. shape_1_per_frame7=mx=if(above(mx,.9),(.9-mx),mx);
  257. shape_1_per_frame8=my=if(above(my,.9),(.9-my),my);
  258. shape_1_per_frame9=mx=if(below(mx,.1),(.9+mx),mx);
  259. shape_1_per_frame10=my=if(below(my,.1),(.9+my),my);
  260. shape_1_per_frame11=
  261. shape_1_per_frame12=x=mx;
  262. shape_1_per_frame13=y=my;
  263. shape_1_per_frame14=
  264. shape_1_per_frame15=a=(above(bass+mid+treb,.1));
  265. shapecode_2_enabled=0
  266. shapecode_2_sides=43
  267. shapecode_2_additive=1
  268. shapecode_2_thickOutline=0
  269. shapecode_2_textured=0
  270. shapecode_2_num_inst=32
  271. shapecode_2_x=0.500
  272. shapecode_2_y=0.500
  273. shapecode_2_rad=0.06989
  274. shapecode_2_ang=0.00000
  275. shapecode_2_tex_ang=0.62832
  276. shapecode_2_tex_zoom=1.00000
  277. shapecode_2_r=0.000
  278. shapecode_2_g=0.000
  279. shapecode_2_b=1.000
  280. shapecode_2_a=1.000
  281. shapecode_2_r2=0.000
  282. shapecode_2_g2=0.000
  283. shapecode_2_b2=1.000
  284. shapecode_2_a2=0.000
  285. shapecode_2_border_r=1.000
  286. shapecode_2_border_g=1.000
  287. shapecode_2_border_b=1.000
  288. shapecode_2_border_a=0.000
  289. shape_2_per_frame1=ma=ma+(above(mid,1)*3.1415*.01*mid);
  290. shape_2_per_frame2=ma=ma-(above(treb,1)*3.1415*.01*treb);
  291. shape_2_per_frame3=
  292. shape_2_per_frame4=mx=mx+(.0004*cos(ma));
  293. shape_2_per_frame5=my=my+(.0004*sin(ma));
  294. shape_2_per_frame6=
  295. shape_2_per_frame7=mx=if(above(mx,.9),(.9-mx),mx);
  296. shape_2_per_frame8=my=if(above(my,.9),(.9-my),my);
  297. shape_2_per_frame9=mx=if(below(mx,.1),(.9+mx),mx);
  298. shape_2_per_frame10=my=if(below(my,.1),(.9+my),my);
  299. shape_2_per_frame11=
  300. shape_2_per_frame12=x=mx;
  301. shape_2_per_frame13=y=my;
  302. shape_2_per_frame14=
  303. shape_2_per_frame15=a=(above(bass+mid+treb,.3));
  304. shapecode_3_enabled=0
  305. shapecode_3_sides=14
  306. shapecode_3_additive=1
  307. shapecode_3_thickOutline=0
  308. shapecode_3_textured=0
  309. shapecode_3_num_inst=127
  310. shapecode_3_x=0.500
  311. shapecode_3_y=0.500
  312. shapecode_3_rad=0.05560
  313. shapecode_3_ang=0.00000
  314. shapecode_3_tex_ang=0.62832
  315. shapecode_3_tex_zoom=1.00000
  316. shapecode_3_r=1.000
  317. shapecode_3_g=0.000
  318. shapecode_3_b=0.000
  319. shapecode_3_a=1.000
  320. shapecode_3_r2=1.000
  321. shapecode_3_g2=1.000
  322. shapecode_3_b2=1.000
  323. shapecode_3_a2=1.000
  324. shapecode_3_border_r=1.000
  325. shapecode_3_border_g=1.000
  326. shapecode_3_border_b=1.000
  327. shapecode_3_border_a=0.000
  328. shape_3_per_frame1=ma=ma+(above(bass,.5)*3.1415*.02*bass);
  329. shape_3_per_frame2=ma=ma-(above(treb,.5)*3.1415*.02*treb);
  330. shape_3_per_frame3=
  331. shape_3_per_frame4=mx=mx+(.0008*cos(ma));
  332. shape_3_per_frame5=my=my+(.0008*sin(ma));
  333. shape_3_per_frame6=
  334. shape_3_per_frame7=mx=if(above(mx,.9),(.9-mx),mx);
  335. shape_3_per_frame8=my=if(above(my,.9),(.9-my),my);
  336. shape_3_per_frame9=mx=if(below(mx,.1),(.9+mx),mx);
  337. shape_3_per_frame10=my=if(below(my,.1),(.9+my),my);
  338. shape_3_per_frame11=
  339. shape_3_per_frame12=x=mx;
  340. shape_3_per_frame13=y=my;
  341. shape_3_per_frame14=
  342. shape_3_per_frame15=a=(above(bass+mid+treb,.2));
  343. per_frame_init_1=x1 = 0.9;
  344. per_frame_init_2=y1 = 0.5;
  345. per_frame_init_3=
  346. per_frame_init_4=x2 = 0.5; y2 = 0.5;
  347. per_frame_init_5=x3 = 0.5; y3 = 0.5;
  348. per_frame_init_6=x4 = 0.5; y4 = 0.5;
  349. per_frame_1=xx1 = xx1*0.9 + (bass)*0.01;
  350. per_frame_2=xx2 = xx2*0.9 + (treb)*0.01;
  351. per_frame_3=yy1 = yy1*0.94 + (treb+bass)*0.0075;
  352. per_frame_4=
  353. per_frame_5=x1 = 0.5 + (xx1-xx2)*2;
  354. per_frame_6=y1 = 0.4 + yy1;
  355. per_frame_7=
  356. per_frame_8=x1 = max(0,min(1,x1)); y1 = max(0,min(1,y1));
  357. per_frame_9=
  358. per_frame_10=spring = 10;
  359. per_frame_11=grav = .5;
  360. per_frame_12=resist = 1;
  361. per_frame_13=bounce = 0.75;
  362. per_frame_14=dt = 0.0008*(60/fps);
  363. per_frame_15=
  364. per_frame_16=vx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring);
  365. per_frame_17=vy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav);
  366. per_frame_18=vx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring);
  367. per_frame_19=vy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav);
  368. per_frame_20=vx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring);
  369. per_frame_21=vy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav);
  370. per_frame_22=
  371. per_frame_23=x2 = x2 + vx2;
  372. per_frame_24=y2 = y2 + vy2;
  373. per_frame_25=x3 = x3 + vx3;
  374. per_frame_26=y3 = y3 + vy3;
  375. per_frame_27=x4 = x4 + vx4;
  376. per_frame_28=y4 = y4 + vy4;
  377. per_frame_29=
  378. per_frame_30=vx2 = if(above(x2,0),vx2,abs(vx2)*bounce);
  379. per_frame_31=vx2 = if(below(x2,1),vx2,-abs(vx2)*bounce);
  380. per_frame_32=vx3 = if(above(x3,0),vx3,abs(vx3)*bounce);
  381. per_frame_33=vx3 = if(below(x3,1),vx3,-abs(vx3)*bounce);
  382. per_frame_34=vx4 = if(above(x4,0),vx4,abs(vx4)*bounce);
  383. per_frame_35=vx4 = if(below(x4,1),vx4,-abs(vx4)*bounce);
  384. per_frame_36=vy2 = if(above(y2,0),vy2,abs(vy2)*bounce);
  385. per_frame_37=vy2 = if(below(y2,1),vy2,-abs(vy2)*bounce);
  386. per_frame_38=vy3 = if(above(y3,0),vy3,abs(vy3)*bounce);
  387. per_frame_39=vy3 = if(below(y3,1),vy3,-abs(vy3)*bounce);
  388. per_frame_40=vy4 = if(above(y4,0),vy4,abs(vy4)*bounce);
  389. per_frame_41=vy4 = if(below(y4,1),vy4,-abs(vy4)*bounce);
  390. per_frame_42=q4 = x4;
  391. per_frame_43=q8 = y4;
  392. per_frame_44=
  393. per_frame_45=q1 = aspectx;
  394. per_frame_46=q2 = aspecty;
  395. per_frame_47=q10 = x1;
  396. per_frame_48=q11 = y1;
  397. per_frame_49=zoom = 1;
  398. per_frame_50=warp = 0;
  399. per_frame_51=q6 = atan2(vx4,vy4);
  400. per_frame_52=q5 = sqrt(vx4*vx4 + vy4*vy4);
  401. per_frame_53=
  402. per_frame_54=a = a*0.95 + q5;
  403. per_frame_55=
  404. per_frame_56=s = s*0.9 + a;
  405. per_frame_57=q3 = s*0.1;
  406. per_frame_58=monitor = s;
  407. per_frame_59=
  408. per_frame_60=wave_a = 0;
  409. per_pixel_1=x = 0.5 + (x-0.5)*q1;
  410. per_pixel_2=y = 0.5 + (y-0.5)*q2;
  411. per_pixel_3=xx = q4;
  412. per_pixel_4=yy = 1-q8;
  413. per_pixel_5=
  414. per_pixel_6=dx = 0; dy = 0;
  415. per_pixel_7=
  416. per_pixel_8=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy));
  417. per_pixel_9=
  418. per_pixel_10=r = 0.11;
  419. per_pixel_11=v = 20;
  420. per_pixel_12=v2 = q5;
  421. per_pixel_13=dx = (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)) + cos(dir)*v2)*(1.00-sigmoid(d-r,100));
  422. per_pixel_14=dy = (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)) -sin(dir)*v2)*(1.00-sigmoid(d-r,100));
  423. warp_1=`shader_body
  424. warp_2=`{
  425. warp_3=` float2 d = texsize.zw * 8;
  426. warp_4=` float3 dx = ( GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv-float2(1,0)*d) );
  427. warp_5=` float3 dy = ( GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv-float2(0,1)*d) );
  428. warp_6=`
  429. warp_7=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * .3 + rand_frame.xy;
  430. warp_8=`
  431. warp_9=` float2 my_uv = lerp(uv_orig,uv,1) ;
  432. warp_10=` float2 uv_x= my_uv + float2(dx.x,dy.x)*texsize.zw *4;
  433. warp_11=` float2 uv_y= my_uv + float2(dx.y,dy.y)*texsize.zw *4;
  434. warp_12=` float2 uv_z= my_uv + float2(dx.z,dy.z)*texsize.zw *4;
  435. warp_13=` ret.x = GetPixel(uv_x).x - (GetPixel(uv_x) - GetBlur3(uv_x)).x * 0.02;
  436. warp_14=` ret.y = GetPixel(uv_y).y - (GetPixel(uv_y) - GetBlur3(uv_y)).y * 0.02;
  437. warp_15=` ret.z = GetPixel(uv_z).z - (GetPixel(uv_z) - GetBlur3(uv_z)).z * 0.02;
  438. warp_16=`
  439. warp_17=` ret += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5) *0.1*(bass-treb);
  440. warp_18=` ret -= ret.yzx*0.1 - 0.04;
  441. warp_19=`
  442. warp_20=`}
  443. comp_1=`shader_body
  444. comp_2=`{
  445. comp_3=` uv = 0.05 + 0.9*uv;
  446. comp_4=`
  447. comp_5=` // equivalent of a laplacian: [center*4 - each of the 4 neighbors*1]
  448. comp_6=` ret = 0;
  449. comp_7=` ret += tex2D(sampler_main, uv ).xyz*4;
  450. comp_8=` ret -= GetBlur1(uv)*4;
  451. comp_9=`ret *= -1;
  452. comp_10=`
  453. comp_11=` // little bit of noise:
  454. comp_12=` ret *= 1 + 0.12*(tex2D(sampler_noise_lq, rand_frame.xy
  455. comp_13=` + uv*texsize.xy*texsize_noise_lq.zw).xxx*2-1);
  456. comp_14=`
  457. comp_15=` // palettize:
  458. comp_16=` ret = pow(ret, float3(0.5, 0.5, 0.7));
  459. comp_17=`
  460. comp_18=` ret = (ret-0.1)*1.1;
  461. comp_19=`
  462. comp_20=` //ret.xyz *= 2; // a little bit of overbright
  463. comp_21=`}
  464. comp_22=`
  465. comp_23=`